package me.zhengjie.pay.service;

import com.alibaba.fastjson.JSONObject;
import me.zhengjie.business.domain.KB04;
import me.zhengjie.business.domain.vo.KB03;
import me.zhengjie.business.domain.vo.KB221;
import me.zhengjie.business.service.dto.GeneralQueryCriteria;
import me.zhengjie.pay.domain.PaidQueryCriteria;
import org.springframework.data.domain.Pageable;

import javax.servlet.http.HttpServletResponse;
import java.io.IOException;
import java.util.List;
import java.util.Map;

/**
 * @description 待缴费查询
 * @author xiahongbo
 * @date 2022-07-21
 **/
public interface UnPaidService {

    JSONObject queryUnPaidInfo(JSONObject obj);

    JSONObject settleAccounts(JSONObject obj);

    Map<String,Object> refundList(String blurry, Pageable pageable);

    Map<String,Object> queryKb03(PaidQueryCriteria criteria, Pageable pageable);

    List<KB03> queryKb03(String akb020, String aae002, String insu_no, String cjt100, String aab034);

    List<KB04> queryKb04(String akb020, String aae001, String insu_no, String cjt100, String aae140);

    Map<String,Object> queryKb22(PaidQueryCriteria criteria, Pageable pageable);

    /**
     * 查询外县参保人员在长发生的费用
     * @param akb020
     * @param aae002
     * @param insu_no
     * @param cjt100
     * @param aab034
     * @return
     */
    Object queryKb221(String akb020, String aae002, String insu_no, String cjt100, String aab034, int[] startEnd);

    void queryKb221Down(String akb020, String aae002, String insu_no, String cjt100, String aab034, HttpServletResponse response) throws IOException;
}
